<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>线程池: taskMsg结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">线程池<span id="projectnumber">&#160;1.0.0</span>
   </div>
   <div id="projectbrief">多线程并发工具</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">成员变量</a>  </div>
  <div class="headertitle"><div class="title">taskMsg结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p>任务信息结构体  
 <a href="structtask_msg.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="threads__pool_8h_source.html">threads_pool.h</a>&gt;</code></p>
<div class="dynheader">
taskMsg 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="structtask_msg__coll__graph.png" border="0" usemap="#atask_msg_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
成员变量</h2></td></tr>
<tr class="memitem:a320a82ee2a68ce91e1c149979d694665" id="r_a320a82ee2a68ce91e1c149979d694665"><td class="memItemLeft" align="right" valign="top">void *(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtask_msg.html#a320a82ee2a68ce91e1c149979d694665">handleFuncPt</a> )(void *arg)</td></tr>
<tr class="separator:a320a82ee2a68ce91e1c149979d694665"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9efefa9e58ba07cae75d220d1b25c435" id="r_a9efefa9e58ba07cae75d220d1b25c435"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtask_msg.html#a9efefa9e58ba07cae75d220d1b25c435">handleFuncArg</a></td></tr>
<tr class="separator:a9efefa9e58ba07cae75d220d1b25c435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad40256cce6dd56cb02e7125af66452d9" id="r_ad40256cce6dd56cb02e7125af66452d9"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structtask_msg.html">taskMsg</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtask_msg.html#ad40256cce6dd56cb02e7125af66452d9">prevTaskMsgStPt</a></td></tr>
<tr class="separator:ad40256cce6dd56cb02e7125af66452d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae16f9516402596ed01dccf2233900c5e" id="r_ae16f9516402596ed01dccf2233900c5e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structtask_msg.html">taskMsg</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtask_msg.html#ae16f9516402596ed01dccf2233900c5e">nextTaskMsgStPt</a></td></tr>
<tr class="separator:ae16f9516402596ed01dccf2233900c5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>任务信息结构体 </p>
<p>用于存储任务的相关信息，包括处理函数和参数，构成双向链表 </p>

<p class="definition">在文件 <a class="el" href="threads__pool_8h_source.html">threads_pool.h</a> 第 <a class="el" href="threads__pool_8h_source.html#l00030">30</a> 行定义.</p>
</div><h2 class="groupheader">结构体成员变量说明</h2>
<a id="a9efefa9e58ba07cae75d220d1b25c435" name="a9efefa9e58ba07cae75d220d1b25c435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9efefa9e58ba07cae75d220d1b25c435">&#9670;&#160;</a></span>handleFuncArg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* taskMsg::handleFuncArg</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理函数参数 </p>

<p class="definition">在文件 <a class="el" href="threads__pool_8h_source.html">threads_pool.h</a> 第 <a class="el" href="threads__pool_8h_source.html#l00034">34</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="threads__pool_8c_source.html#l00050">getNewTaskMsg()</a>, <a class="el" href="threads__pool_8c_source.html#l00134">removeDestTaskMsg()</a> , 以及 <a class="el" href="threads__pool_8c_source.html#l00185">threadRoutine()</a>.</p>

</div>
</div>
<a id="a320a82ee2a68ce91e1c149979d694665" name="a320a82ee2a68ce91e1c149979d694665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a320a82ee2a68ce91e1c149979d694665">&#9670;&#160;</a></span>handleFuncPt</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void *(* taskMsg::handleFuncPt) (void *arg)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理函数地址 </p>

<p class="definition">在文件 <a class="el" href="threads__pool_8h_source.html">threads_pool.h</a> 第 <a class="el" href="threads__pool_8h_source.html#l00033">33</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="threads__pool_8c_source.html#l00050">getNewTaskMsg()</a>, <a class="el" href="threads__pool_8c_source.html#l00134">removeDestTaskMsg()</a> , 以及 <a class="el" href="threads__pool_8c_source.html#l00185">threadRoutine()</a>.</p>

</div>
</div>
<a id="ae16f9516402596ed01dccf2233900c5e" name="ae16f9516402596ed01dccf2233900c5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae16f9516402596ed01dccf2233900c5e">&#9670;&#160;</a></span>nextTaskMsgStPt</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structtask_msg.html">taskMsg</a>* taskMsg::nextTaskMsgStPt</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>下个任务信息地址 </p>

<p class="definition">在文件 <a class="el" href="threads__pool_8h_source.html">threads_pool.h</a> 第 <a class="el" href="threads__pool_8h_source.html#l00036">36</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="threads__pool_8c_source.html#l00103">dequeueTaskMsg()</a>, <a class="el" href="threads__pool_8c_source.html#l00050">getNewTaskMsg()</a>, <a class="el" href="threads__pool_8c_source.html#l00079">inqueueNewTaskMsg()</a> , 以及 <a class="el" href="threads__pool_8c_source.html#l00134">removeDestTaskMsg()</a>.</p>

</div>
</div>
<a id="ad40256cce6dd56cb02e7125af66452d9" name="ad40256cce6dd56cb02e7125af66452d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad40256cce6dd56cb02e7125af66452d9">&#9670;&#160;</a></span>prevTaskMsgStPt</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structtask_msg.html">taskMsg</a>* taskMsg::prevTaskMsgStPt</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>上个任务信息地址 </p>

<p class="definition">在文件 <a class="el" href="threads__pool_8h_source.html">threads_pool.h</a> 第 <a class="el" href="threads__pool_8h_source.html#l00035">35</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="threads__pool_8c_source.html#l00103">dequeueTaskMsg()</a>, <a class="el" href="threads__pool_8c_source.html#l00050">getNewTaskMsg()</a>, <a class="el" href="threads__pool_8c_source.html#l00079">inqueueNewTaskMsg()</a> , 以及 <a class="el" href="threads__pool_8c_source.html#l00134">removeDestTaskMsg()</a>.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>inc/<a class="el" href="threads__pool_8h_source.html">threads_pool.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2025年 九月 13日 星期六 03:23:00 , 为 线程池使用 &#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
